import { createAction } from 'redux-actions'
import { STORE_USER, STORE_CITY, STORE_CORP, STORE_PARTNER, STORE_CARDATA } from '../types/main'

export const storeUser = createAction(STORE_USER, (payload) => {
  return payload
})

export const storeCity = createAction(STORE_CITY, (payload) => {
  return payload
})

export const storeCorp = createAction(STORE_CORP, (payload) => {
  return payload
})

export const storePartner = createAction(STORE_PARTNER, (payload) => {
  return payload
})

export const storeCardata = createAction(STORE_CARDATA, (payload) => {
  return payload
})
